package org.dtrd.modules.food.entity.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.dtrd.common.api.dto.BasePageRequest;

/**
 * @author 萧
 * @date:2021-11-19 11:59 下午
 **/
@EqualsAndHashCode(callSuper = true)
@ApiModel("食物分页请求")
@Data
public class FoodPageRequest extends BasePageRequest {

    @ApiModelProperty(name = "食物GI指数", notes = "1-低升糖，2-中升糖，3-高升糖", example = "2")
    private Integer giIndex;

    @ApiModelProperty(name = "食物名称", example = "沙子面")
    private String foodName;

    @ApiModelProperty(name = "分类id")
    private Integer foodCategoryId;

    @ApiModelProperty(name = "食物的热量", example = "300")
    private Integer foodKcal;

    @ApiModelProperty(name = "标签")
    private String label;

}
